ExamPlay Light Logo
Logg på

Computer Science for IGCSE & O level - Programming (Section 8 - No. 22)

In Python, what will be the output of `print(15 % 4)`?
1
2
3
3.75

Forklaring

The modulo operator (%) returns the remainder of the division. 15 divided by 4 is 3 with a remainder of 3.

Kommentarer (0)

Logg inn for å kommentere
Annonse
BrainBehindX Inc Logo
©2026; Drevet av BrainBehindX Inc